#ifndef DIALOGADDOBJECT_H
#define DIALOGADDOBJECT_H

#include <QtGui/QDialog>

#include <iostream>
#include "typedefs.h"
#include "vector3.h"

namespace Ui {
class DialogAddObject;
}

class DialogAddObject : public QDialog
{
    Q_OBJECT
    
public:
    explicit DialogAddObject(QWidget *parent = 0);
    ~DialogAddObject();

    bool ok;

    Math::Real radius;
    Math::Vector3 sizeBox;
    QString filename;

    enum ObjectType {NO,BOX,SPHERE,TRIMESH};
    ObjectType type;
    
private:
    Ui::DialogAddObject *ui;

public slots:
    void on_buttonBox_rejected(){
        ok = false;
    }

    void on_buttonBox_accepted();
};

#endif // DIALOGADDOBJECT_H
